textview: Use text_window_get_width()/height()
authorBenjamin Otte <otte@redhat.com>
Sat, 11 Nov 2017 04:12:07 +0000 (05:12 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 11 Nov 2017 04:12:07 +0000 (05:12 +0100)
commit2533ad723aa3476c502e69a1b216fd86a8b93620
treee397ba70b5d64eab45374e491ed0b7fc1b136f2f
parent17600b6baba746c86751fea8c69bce5485f913f6
textview: Use text_window_get_width()/height()

Instead of poking the GdkWindow. They have the same size after all.
gtk/gtktextview.c